

package top.continew.admin.question.model.work;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

@TableName(value = "subject")
public class Subject extends Model<Subject> {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "`name`")
    private String name;

    @TableField(value = "generalName")
    private String generalname;

    @TableField(value = "code")
    private String code;

    @TableField(value = "`type`")
    private Integer type;

    @TableField(value = "parentId")
    private Long parentid;

    @TableField(value = "`desc`")
    private String desc;

    @TableField(value = "totalQueNum")
    private Long totalquenum;

    @TableField(value = "ext")
    private String ext;

    @TableField(value = "ctime")
    private Long ctime;

    @TableField(value = "utime")
    private Long utime;

    @TableField(value = "`status`")
    private Integer status;

    @TableField(value = "sectionIdsJson")
    private String sectionidsjson;

    /**
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return generalName
     */
    public String getGeneralname() {
        return generalname;
    }

    /**
     * @param generalname
     */
    public void setGeneralname(String generalname) {
        this.generalname = generalname;
    }

    /**
     * @return code
     */
    public String getCode() {
        return code;
    }

    /**
     * @param code
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * @return type
     */
    public Integer getType() {
        return type;
    }

    /**
     * @param type
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * @return parentId
     */
    public Long getParentid() {
        return parentid;
    }

    /**
     * @param parentid
     */
    public void setParentid(Long parentid) {
        this.parentid = parentid;
    }

    /**
     * @return desc
     */
    public String getDesc() {
        return desc;
    }

    /**
     * @param desc
     */
    public void setDesc(String desc) {
        this.desc = desc;
    }

    /**
     * @return totalQueNum
     */
    public Long getTotalquenum() {
        return totalquenum;
    }

    /**
     * @param totalquenum
     */
    public void setTotalquenum(Long totalquenum) {
        this.totalquenum = totalquenum;
    }

    /**
     * @return ext
     */
    public String getExt() {
        return ext;
    }

    /**
     * @param ext
     */
    public void setExt(String ext) {
        this.ext = ext;
    }

    /**
     * @return ctime
     */
    public Long getCtime() {
        return ctime;
    }

    /**
     * @param ctime
     */
    public void setCtime(Long ctime) {
        this.ctime = ctime;
    }

    /**
     * @return utime
     */
    public Long getUtime() {
        return utime;
    }

    /**
     * @param utime
     */
    public void setUtime(Long utime) {
        this.utime = utime;
    }

    /**
     * @return status
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * @param status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * @return sectionIdsJson
     */
    public String getSectionidsjson() {
        return sectionidsjson;
    }

    /**
     * @param sectionidsjson
     */
    public void setSectionidsjson(String sectionidsjson) {
        this.sectionidsjson = sectionidsjson;
    }
}
